package com.sixth.bean.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author lixinhang
 * @Time 2022/9/11 23:59
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WXCartCheckoutVO {

    /**
     * grouponRulesId : 0
     * actualPrice : 20357.0
     * orderTotalPrice : 20357.0
     * cartId : 0
     * userCouponId : 6189
     * couponId : 15
     * goodsTotalPrice : 20357.0
     * addressId : 32
     * grouponPrice : 0
     * checkedAddress : {"addTime":"2022-09-10 17:04:29","city":"市辖区","county":"河东区","updateTime":"2022-09-11 23:35:09","userId":1,"areaCode":"120102","isDefault":true,"addressDetail":"12-304","deleted":false,"province":"天津市","name":"sdad","tel":"12345677654","id":32}
     * couponPrice : 0.0
     * availableCouponLength : 17
     * freightPrice : 0
     * checkedGoodsList : [{"productId":229,"addTime":"2022-09-11 23:52:19","goodsId":1151012,"goodsSn":"1151012","updateTime":"2022-09-11 23:52:19","userId":1,"specifications":["标准"],"number":1,"picUrl":"http://yanxuan.nosdn.127.net/cb65635dbcef42b68ba21433f4948f5a.png","deleted":false,"price":359,"checked":true,"id":318,"goodsName":"简约知性全棉四件套 素雅灰"},
     *                     {"productId":314,"addTime":"2022-09-11 23:53:24","goodsId":1181059,"goodsSn":"20010222","updateTime":"2022-09-11 23:53:24","userId":1,"specifications":["标准"],"number":2,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/6bx90hzc9s682k022qwv.jpg","deleted":false,"price":9999,"checked":true,"id":319,"goodsName":"爱写代码的小姐姐一枚吖"}]
     */
    private Integer grouponRulesId;
    private BigDecimal actualPrice;
    private BigDecimal orderTotalPrice;
    private Integer cartId;
    private Integer userCouponId;
    private Integer couponId;
    private BigDecimal goodsTotalPrice;
    private Integer addressId;
    private Integer grouponPrice;
    private WXCartCheckoutCheckedAddressVO checkedAddress;
    private BigDecimal couponPrice;
    private Integer availableCouponLength;
    private BigDecimal freightPrice;
    private List<WXCartCheckoutCheckedGoodsVO> checkedGoodsList;
}
